<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: /home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/stuff/timeutil.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('timeutil_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">timeutil.h File Reference<div class="ingroups"><a class="el" href="group__utils.html">Utils</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>utility functions for handling time related stuff  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;sys/time.h&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for timeutil.h:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="timeutil_8h__incl.svg" width="188" height="142"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="timeutil_8h__dep__incl.svg" width="1204" height="423"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
<p><a href="timeutil_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_scope_time.html">g2o::ScopeTime</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class to measure the time spent in a scope.  <a href="classg2o_1_1_scope_time.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceg2o"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceg2o.html">g2o</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gabfe958da8833edbe74250507adc61635"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__utils.html#gabfe958da8833edbe74250507adc61635">DO_EVERY</a>(secs,  code)&#160;&#160;&#160;<a class="el" href="group__utils.html#ga9b9f34c01b03b47644c2762bf256be32">DO_EVERY_TS</a>(secs, <a class="el" href="namespaceg2o.html#a6baa8fdfd973b5b970df14f14fd5d844">g2o::get_time</a>(), code)</td></tr>
<tr class="memdesc:gabfe958da8833edbe74250507adc61635"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes code, only if secs are gone since last exec.  <a href="group__utils.html#gabfe958da8833edbe74250507adc61635">More...</a><br /></td></tr>
<tr class="separator:gabfe958da8833edbe74250507adc61635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b9f34c01b03b47644c2762bf256be32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__utils.html#ga9b9f34c01b03b47644c2762bf256be32">DO_EVERY_TS</a>(secs,  currentTime,  code)</td></tr>
<tr class="memdesc:ga9b9f34c01b03b47644c2762bf256be32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes code, only if secs are gone since last exec.  <a href="group__utils.html#ga9b9f34c01b03b47644c2762bf256be32">More...</a><br /></td></tr>
<tr class="separator:ga9b9f34c01b03b47644c2762bf256be32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae79acf8eb730f80c029d60e19332b4b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__utils.html#gae79acf8eb730f80c029d60e19332b4b9">MEASURE_FUNCTION_TIME</a>&#160;&#160;&#160;<a class="el" href="classg2o_1_1_scope_time.html">g2o::ScopeTime</a> scopeTime(<a class="el" href="macros_8h.html#a9c15fe1e91b07ea3280f5239f9841b67">__PRETTY_FUNCTION__</a>)</td></tr>
<tr class="separator:gae79acf8eb730f80c029d60e19332b4b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaafc27d8d00ac925dce6e52a013cc2b32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__utils.html#gaafc27d8d00ac925dce6e52a013cc2b32">MEASURE_TIME</a>(text,  code)</td></tr>
<tr class="separator:gaafc27d8d00ac925dce6e52a013cc2b32"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa64237935c7d8411b4369234a5f661ea"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceg2o.html#aa64237935c7d8411b4369234a5f661ea">g2o::get_monotonic_time</a> ()</td></tr>
<tr class="memdesc:aa64237935c7d8411b4369234a5f661ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">return a monotonic increasing time which basically does not need to have a reference point.  <a href="namespaceg2o.html#aa64237935c7d8411b4369234a5f661ea">More...</a><br /></td></tr>
<tr class="separator:aa64237935c7d8411b4369234a5f661ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6baa8fdfd973b5b970df14f14fd5d844"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceg2o.html#a6baa8fdfd973b5b970df14f14fd5d844">g2o::get_time</a> ()</td></tr>
<tr class="memdesc:a6baa8fdfd973b5b970df14f14fd5d844"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the current time in seconds since 1.  <a href="namespaceg2o.html#a6baa8fdfd973b5b970df14f14fd5d844">More...</a><br /></td></tr>
<tr class="separator:a6baa8fdfd973b5b970df14f14fd5d844"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>utility functions for handling time related stuff </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_08235c883c2d11e586a63e6645937db5.html">Thirdparty</a></li><li class="navelem"><a class="el" href="dir_6238d635334f7e809f450ee18181fd21.html">g2o</a></li><li class="navelem"><a class="el" href="dir_62a53d30c17c36057e41412a1a4f77b8.html">g2o</a></li><li class="navelem"><a class="el" href="dir_8060ee540022a2c52e71c5c2c8062ae1.html">stuff</a></li><li class="navelem"><a class="el" href="timeutil_8h.html">timeutil.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
